package com.tlw.leave.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Table
@Entity
public class Student {

    @Id
    @Basic
    @Column(name = "id")
    private String id;


    @Basic
    @Column(name = "name")
    private String name;

    @Basic
    @Column(name = "age")
    private String age;
}
